// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue"
import App from "./App"
import router from "./router"
import store from "./store";
// 使用到什么组件再注册进element-ui.js
import elementUi from "@/components/element-ui";
import commonComponents from "@/components/common"

import Chat from "vue-beautiful-chat";

Vue.use(elementUi)
Vue.use(commonComponents)
Vue.use(Chat)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");
